package com.songlanyun.modules.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.songlanyun.common.drive.RootEntity;
import com.songlanyun.modules.order.entity.Order;
import lombok.Data;

/**
 * 优惠券与商品的关系
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-05 15:20:02
 */
@Data
@TableName("yxt_coupon_goods")
public class CouponGoodsEntity extends RootEntity<Long, CouponGoodsEntity> implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Long id;
	/**
	 * 优惠券id
	 */
	private Long couponId;
	/**
	 * 商品id
	 */
	private Long goodsId;
	/**
	 * 店铺id
	 */
	private Long shopId;

	@Override
	public Long getIdentity() {
		return getId();
	}
}
